home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 3.iso / screensavers / saver25.zip / SOURCE.ZIP / Drawwnd.h < prev    next >
C/C++ Source or Header  |  1997-07-21  |  1KB  |  66 lines

  1. // drawwnd.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CDrawWnd window
  6.  
  7. #include "test.h"        
  8.  
  9. class CDrawWnd : public CWnd
  10. {
  11. public:
  12. // Construction
  13. public:
  14.     CDrawWnd(BOOL bAutoDelete = TRUE);
  15.  
  16. // Attributes
  17. public:
  18.     Probe probe;
  19.     int init;
  20. /*
  21.     CRgn m_rgnLast;
  22.     int m_nWidth;
  23.     int m_nSteps;
  24.     int m_nPos;
  25.     int m_nStep;
  26.     int m_nScale;
  27.     int m_nHeight;
  28.     int m_nStyle;
  29.  
  30.  
  31.     int s_width;
  32.     int s_height;
  33. */
  34.     static LPCTSTR m_lpszClassName;
  35.     // Operations
  36. public:
  37. //    void DrawLetter(CDC& dc, CPoint pt, int p1[][3], int p2[][3], int nLen);
  38.     void Draw(CDC& dc, int nWidth);
  39.  
  40. // Overrides
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CDrawWnd)
  43.     public:
  44.     virtual BOOL Create(DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
  45.     protected:
  46.     virtual void PostNcDestroy();
  47.     //}}AFX_VIRTUAL
  48.  
  49. // Implementation
  50. public:
  51.     virtual ~CDrawWnd();
  52.  
  53. protected:
  54.     BOOL m_bAutoDelete;
  55.  
  56.     // Generated message map functions
  57. protected:
  58.     //{{AFX_MSG(CDrawWnd)
  59.     afx_msg void OnPaint();
  60.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66.